-- GENERATED SPELL FOR [Steam Rager] --


function spell0_24601(pUnit, Event) --@Steam Blast,n/a--
pUnit:FullCastSpellOnTarget(50375,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24601', 1500, 1)
end

function Sorts_24601(pUnit, Event)
local choix_sorts_24601 = math.random(0, 0)
if choix_sorts_24601 == 0 then
pUnit:RegisterEvent('spell0_24601', 1, 1)
end
end

function mob24601_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24601', math.random(1500, 3000), 1)
end

function mob24601_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24601_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24601_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24601, 1, 'mob24601_Action')
RegisterUnitEvent(24601, 2, 'mob24601_Leave')
RegisterUnitEvent(24601, 3, 'mob24601_Kill')
RegisterUnitEvent(24601, 4, 'mob24601_Die')
